package com.zeedev.flyingsaucer.data.wrappers;

import mobi.zeedev.flyingsaucer.common.CredentialsModule.interfaces.IPreferenceCredentials;
import roboguice.config.AbstractAndroidModule;

/**
 * User: James
 * Date: 1/30/11
 * Time: 1:43 AM
 */
public class PreferenceCredentialsModule extends AbstractAndroidModule {

    @Override
    protected void configure() {

//        install(new CredentialsModule());

//        Credentials cred = new Credentials();
//        bind(Credentials.class).toInstance(cred);
//
//        bind(ICredentials.class).toInstance(cred);

//        bind(Credentials.class).asEagerSingleton();
//
//        bind(ICredentials.class).to(Credentials.class).asEagerSingleton();


//        bindConstant().annotatedWith(SharedPreferencesName.class).to("roboguice.astroboy");

        bind(IPreferenceCredentials.class).to(PreferenceCredentials.class);



    }


}
